<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>服务器出错啦~</title>
		<link rel="stylesheet" href="//unpkg.com/layui@2.6.8/dist/css/layui.css">
	</head>
	<style>
		.not-found-page .content {
			width: 992px;
			margin: 0 auto 80px;
			display: block;
			position: relative;
		}

		.not-found-page .content .top-img {
			display: block;
			width: 288px;
			margin: 0 auto;
		}

		.not-found-page .content .info {
			font-size: 14px;
			margin: 0 auto;
			text-align: center;
		}

		.not-found-page .content .info h2 {
			font-size: 26px;
			color: #444;
			line-height: 30px;
		}

		.not-found-page .content .info .state {
			color: #777;
			margin: 7px 0 35px;
			font-size: 16px;
			line-height: 20px;
		}

		.red-link {
			color: #9A0000;
		}

		.green-link {
			color: #0d8245;
		}

		.content {
			text-align: center;
		}
	</style>
	<body>
		<div class="content" class="info">
			<img id="img_500" src="" alt="">
			<div class="content">
				<h1 class="red-link">500<i class="layui-icon layui-icon-util" style="font-size: 26px"></i></h1>
				<p style="font-size: 28px">开发人员正在努力抢修中，给您带来的不便还请谅解~</p>
			</div>
		</div>
	</body>
	<script>
		//获取完整路径
		let curWwwPath = window.document.location.href;
		//获取主机地址之后的目录，如： index.jsp
		let pathName = window.document.location.pathname;
		let pos = curWwwPath.indexOf(pathName);
		//获取主机地址，如： http://localhost:8080
		let localhostPaht = curWwwPath.substring(0, pos);
		let img = document.getElementById("img_500");
		img.src = localhostPaht + "/user/admin/images/500.svg"
	</script>
</html>
